home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / dev / amos / amosl0794.lzh / AMOSLIST / 000049_amos-request@svcs1.digex.net_Tue Jul 19 23:17:22 1994.msg < prev    next >
Internet Message Format  |  1994-08-01  |  2KB

  1. Received: from hela.INS.CWRU.Edu by nfs1.digex.net with SMTP id AA01449
  2.   (5.67b8/IDA-1.5 for <mcox@access.digex.net>); Tue, 19 Jul 1994 23:17:19 -0400
  3. Received: from svcs1.digex.net ([164.109.10.23]) by hela.INS.CWRU.Edu with SMTP (8.6.8.1+cwru/CWRU-2.1-freenet-gw)
  4.     id XAA06172; Tue, 19 Jul 1994 23:17:07 -0400 (from amos-request@svcs1.digex.net)
  5. Received: by svcs1.digex.net id AA06075
  6.   (5.67b8/IDA-1.5 for amos-out); Thu, 14 Jul 1994 10:23:19 -0400
  7. Received: from nfs1.digex.net by svcs1.digex.net with SMTP id AA06070
  8.   (5.67b8/IDA-1.5 for <amos@svcs1.digex.net>); Thu, 14 Jul 1994 10:23:16 -0400
  9. Received: from lorikeet.doc.ic.ac.uk by nfs1.digex.net with SMTP id AA21886
  10.   (5.67b8/IDA-1.5 for <amos-list@access.digex.com>); Thu, 14 Jul 1994 10:23:14 -0400
  11. Received: from doc.ic.ac.uk by lorikeet.doc.ic.ac.uk 
  12.           id <21047-0@lorikeet.doc.ic.ac.uk>; Thu, 14 Jul 1994 15:23:09 +0100
  13. From: Paul Hickman <ph@doc.ic.ac.uk>
  14. Date: Thu, 14 Jul 1994 15:23:07 +0100
  15. X-Mailer: Mail User's Shell (7.2.5 10/14/92)
  16. To: amos-list@access.digex.net
  17. Subject: AMOS Pro bugs & questions.
  18. Message-Id: <"lorikeet.d.049:14.06.94.14.23.11"@doc.ic.ac.uk>
  19. Status: RO
  20.  
  21.  
  22.  
  23. First off a bug - If you had the following code (Line numbers added for
  24. clarity):
  25.  
  26.  
  27. 1|  If A=1
  28. 2|    Print "A equals 1"
  29. 3|  Else If A=2 
  30. 4|    Print "Hello"
  31. 5|  Else If 6/0=4
  32. 6|    Print "Go Away"
  33. 7|  End If
  34.  
  35.  
  36.  
  37. You will notice in line 5 there is an error. However, when the program
  38. crashes, AMOS Pro reports the error to be in line 1. I spent 1/2 an hour
  39. last night trying to work out how the line 'If SCRW = 4' could produce an
  40. illegal function call!!!
  41.  
  42.  
  43.  
  44.  
  45.  
  46. Second off, a bug/question:
  47.  
  48. In the manual it says that the =Dev First$("") function can be used with
  49. the following strings:
  50.  
  51.     "**"   =  List all devices and assigns
  52.         "D/**" =  List just devices
  53.         "A/**" =  List just assigns
  54.  
  55. In reality I find:
  56.  
  57.         "C:"   =  List all devices and assigns (Any 2 character+ string
  58.                   ending with a ':' will work)
  59.         ""     =  List just devices
  60.  
  61. Anyone know how to list just assigns?
  62.  
  63.  
  64.  
  65.  
  66. Finally, does anyone know a way of detecting if a line of AMOS code is
  67. a procedure which cannot be unfolded because it contains machine code,
  68. using the Ask Editor/Call Editor commands from an accessory?